<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Title</title>
</head>
<body>
<h1>
    欢迎您！
</h1>
测试Rest风格
<form method="get" action="/user">
    <input type="submit" value="Rest-Get 提交" />
</form>
<form method="post" action="/user">
    <input type="submit" value="Rest-post 提交" />
</form>
<form method="post" action="/user">
    <input type="hidden" name="_method" value="DELETE" />
    <input type="submit" value="Rest-delete 提交" />
</form>
<form method="post" action="/user">
    <input type="hidden" name="_method" value="PUT" />
    <input type="submit" value="Rest-put 提交" />
</form>
</body>
</html>